module.exports = {
  lintOnSave: false, // 暂时关闭ESLint检查以解决编译问题
  devServer: {
    port: 4000,
    host: '0.0.0.0',
    open: true,
    proxy: {
      '/douyin': {
        target: 'http://localhost:8080',
        changeOrigin: true,
        secure: false,
        logLevel: 'debug'
      }
    }
  },
  publicPath: process.env.NODE_ENV === 'production' ? './' : '/'
}
